package com.mapapp.flutter_mapapp.adapter;

import android.support.annotation.NonNull;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.mapapp.flutter_mapapp.R;
import com.mapapp.flutter_mapapp.bean.DetailTree;

public class MergeHouseholdAdapter extends BaseQuickAdapter<DetailTree, BaseViewHolder> {
    public MergeHouseholdAdapter(int layoutResId) {
        super(layoutResId);
    }

    @Override
    protected void convert(@NonNull BaseViewHolder helper, DetailTree item) {
        helper.setText(R.id.tv_household, item.getAddress());
        helper.addOnClickListener(R.id.iv_del);
    }
}
